
//Icon
setIcon(<comforts:sleeping_bag>)

//Title
setTitle("Because This Is A Long Road")

//Descrpition
setDescription("Make a sleeping bag with wool. This item does not reset your spawnpoint.")

//Parent advancement
addParent("triumph:Getting Started/get_backpack")

//Position
setPos(80,-30)

//Adds the criteria
criteria = addCriteria("hasSleepingbag", "minecraft:inventory_changed")

//Add the item for the criteria
criteria.addItem(<comforts:sleeping_bag>)